import {Component, Input} from '@angular/core';
import {CommonPage} from '../../common-page';
import {UserFormComponent} from '../../user/form/user.form.component';

@Component({
  templateUrl: './project.user.form.component.html'
})
export class ProjectUserFormComponent extends CommonPage {

  fields = [{
    name: '姓名',
    code: 'name'
  }, {
    name: 'uuid',
    code: 'uuid'
  }];


  formConfig = {
    formComponent: UserFormComponent,
    formData: {showRole: false}
  };
  @Input() projectId;
  @Input() userIds;
  @Input() roleOptions;
  @Input() roleId;
  @Input() dataPerId;
  @Input() dataPerTreeIds;


}




